package ssii.camino;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class CaminoActivity extends Activity {
    /** Called when the activity is first created. */
	Button gps;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        gps = (Button) findViewById(R.id.button1);
        gps.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
            	Intent i = new Intent(getApplicationContext(), GPS_Activity.class );
               // i.putExtra("direccion", et1.getText().toString());
                startActivity(i);
            }
        });
    }
}